#ifndef __SHIELD_H__
#define __SHIELD_H__

#include "cocos2d.h"
#include "Creature.h"

using namespace cocos2d;

class Shield : public Creature
{
public:
	CREATURE_CREATE_FUNC(Shield);

	virtual bool init();
	
	bool hit(float damage);
	void setActive(bool active);
	bool isActive() {return d_active;}

protected:

	
private:
	bool d_active;
};

#endif  // __SHIELD_H__